ResourceType

public enum ResourceType

Resource types.

Entries

Link copied to clipboard

Represents a top level page.

Link copied to clipboard

Represents a frame or iframe.

Link copied to clipboard

Represents a CSS stylesheet.

Link copied to clipboard

Represents an external script.

Link copied to clipboard

Represents an image (jpg/gif/png/etc).

Link copied to clipboard

Represents a font.

Link copied to clipboard
Link copied to clipboard

Represents a tag for a plugin.

Link copied to clipboard

Represents a media resource.

Link copied to clipboard

Represents the main resource of a dedicated worker.

Link copied to clipboard

Represents the main resource of a shared worker.

Link copied to clipboard

Represents an explicitly requested prefetch.

Link copied to clipboard

Represents a favicon.

Link copied to clipboard

Represents an XMLHttpRequest.

Link copied to clipboard

Represents a ping request.

Link copied to clipboard

Represents the main resource of a service worker.

Link copied to clipboard

Represents a report of Content Security Policy violations.

Link copied to clipboard

Represents a resource that a plugin requested.

Link copied to clipboard

Represents a preloaded main frame.

Link copied to clipboard

Represents a preloaded sub frame.

Link copied to clipboard

Represents a JSON resource.

Functions

Link copied to clipboard
public static ResourceType valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<ResourceType> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.